const richEditor = {
  state: {
    isRegisterMenu: false // 是否已注册自定义菜单
  },
  mutations: {
    CHANGE_REGISTER_MENU: (state, status) => {
      state.isRegisterMenu = status;
    }
  },
  actions: {
    changeRegisterMenu({ commit }, node) {
      commit('CHANGE_REGISTER_MENU', node);
    }
  }
};

export default richEditor;
